package org.csu.hotelsys.persistence;

import org.csu.hotelsys.domain.Consumption;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConsumptionMapper {
    //Consumption getConsumptionBylistId(String listId);
    Consumption getConsumption(String listId);
    List<Consumption> getConsumptionList();
    void printConsumption(Consumption consumption);//这是打印的操作
    void deleteConsumption(Consumption consumption);//这是删除消费订单的操作
    void updateConsumption(Consumption consumption);//这个是更新订单的操作
}
